20. GPIO Commands > 20.1 AT^SPIO   General Purpose IO Driver Open/Close

20.1
AT^SPIO   General Purpose IO Driver Open/Close
The AT^SPIO write command opens and closes the general purpose IO driver. The command must be executed before any other GPIO command can be used. After closing the driver, all pins used (i.e. opened) will be put into high impedance state (inputs) with no internal pull up or down.

The command does not reserve any general purpose IO pin, only the drivers required for GPIO pin management will be loaded.
Syntax
Test Command  
Response(s)
^SPIO:(list of supported <mode>s)
Write Command  
Response(s)
Reference(s) 
PIN 
ASC0 
ASC1 
USB 
MUX1 
MUX2 
MUX3 
Charge 
Last 

Parameter Description
 
<mode>(num)
0
Close General purpose IO driver
1
Open General purpose IO driver